how to solve Karl Pearson Coefficient Of Correlation